package edu.gxmzu.task.service.impl;

import edu.gxmzu.task.entity.Work1;
import edu.gxmzu.task.entity.Works;
import edu.gxmzu.task.mapper.WorksMapper;
import edu.gxmzu.task.models.WorkModel;
import edu.gxmzu.task.params.AdminWorkParam;
import edu.gxmzu.task.service.WorksService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 莫松华
 */
@Service
public class WorksServiceImpl implements WorksService {

    @Autowired
    private WorksMapper worksMapper;

    @Override
    public List<Work1> getTaskList() {
        return worksMapper.getTaskList();
    }

    @Override
    public List<Works> getAssignedList(AdminWorkParam param) {
        return worksMapper.getAssignedList(param);
    }
}
